package com.sutuijingling.utils;

import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.Callable;

public abstract class d implements Callable {
    Map c;
    int d;
    String e = "";
    boolean f = false;
    int g = Integer.MAX_VALUE;

    public d(Map map) {
        this.c = map;
        this.d = map.size() - 1;
    }

    public Void a() {
        int i = 0;
        for (Entry a : this.c.entrySet()) {
            int i2;
            if (this.f) {
                i2 = i + 1;
                if (i % this.g == 0 || i2 == this.d) {
                    System.out.println(String.format("[%s] done number : [%s] with max index [%s]", new Object[]{this.e, Integer.valueOf(i2), Integer.valueOf(this.d)}));
                }
            } else {
                i2 = i;
            }
            a(a);
            i = i2;
        }
        return null;
    }

    public abstract void a(Entry entry);

    public /* synthetic */ Object call() throws Exception {
        return a();
    }
}
